package com.ruoyi.irtu.service;

import java.util.List;
import com.ruoyi.irtu.domain.IrtuFirmware;

/**
 * 固件Service接口
 * 
 * @author wb
 * @date 2023-03-05
 */
public interface IIrtuFirmwareService 
{
    /**
     * 查询固件
     * 
     * @param firmwareId 固件主键
     * @return 固件
     */
    public IrtuFirmware selectIrtuFirmwareByFirmwareId(Long firmwareId);

    /**
     * 查询固件列表
     * 
     * @param irtuFirmware 固件
     * @return 固件集合
     */
    public List<IrtuFirmware> selectIrtuFirmwareList(IrtuFirmware irtuFirmware);

    /**
     * 新增固件
     * 
     * @param irtuFirmware 固件
     * @return 结果
     */
    public int insertIrtuFirmware(IrtuFirmware irtuFirmware);

    /**
     * 修改固件
     * 
     * @param irtuFirmware 固件
     * @return 结果
     */
    public int updateIrtuFirmware(IrtuFirmware irtuFirmware);

    /**
     * 批量删除固件
     * 
     * @param firmwareIds 需要删除的固件主键集合
     * @return 结果
     */
    public int deleteIrtuFirmwareByFirmwareIds(Long[] firmwareIds);

    /**
     * 删除固件信息
     * 
     * @param firmwareId 固件主键
     * @return 结果
     */
    public int deleteIrtuFirmwareByFirmwareId(Long firmwareId);
}
